package com.cssw.fyzb.busi.service.video;

import com.cssw.fyzb.core.eao.video.NotifyEao;
import com.cssw.fyzb.core.model.eos.NotifyEo;
import com.ydn.dbframe.plugin.activerecord.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author Jian Qin.
 */
@Service
public class NotifyServiceImpl implements NotifyService{
    @Autowired
    private NotifyEao notifyEao;

    @Override
    public Page<NotifyEo> pageAtByUserId(Long userId, Integer pageNumber, Integer pageSize) {
        return notifyEao.pageAtMeByUserId(userId, pageNumber, pageSize);
    }

    @Override
    public Page<NotifyEo> pageCommentByUserId(Long userId, Integer pageNumber, Integer pageSize) {
        return notifyEao.pageCommentByUserId(userId, pageNumber, pageSize);
    }

    @Override
    public Page<NotifyEo> pageLikeByUserId(Long userId, Integer pageNumber, Integer pageSize) {
        return notifyEao.pageLikeByUserId(userId, pageNumber, pageSize);
    }

    @Override
    public Page<NotifyEo> pageFocusByUserId(Long userId, Integer pageNumber, Integer pageSize) {
        return notifyEao.pageFocusByUserId(userId, pageNumber, pageSize);
    }
}
